<nav class="fa-nav">
    <div class="layui-container layui-hide-xs">
        <ul class="layui-nav" lay-filter="nav">
            <li class="layui-nav-item"><a href="{:url('index/index/index')}">首页</a></li>
            <li class="layui-nav-item"><a href="{:url('index/category/index')}">文章</a></li>
            <li class="layui-nav-item"><a href="{:url('index/speak/index')}">说说</a></li>
            <li class="layui-nav-item"><a href="{:url('index/project/index')}">项目</a></li>
            <li class="layui-nav-item"><a href="{:url('index/guestbook/index')}">留言</a></li>
            <li class="layui-nav-item"><a href="{:url('index/flink/index')}">友链</a></li>
            <li class="layui-nav-item"><a href="{:url('index/about/index')}">关于我</a></li>
        </ul>
    </div>
    <div class="layui-block-xs layui-hide-sm layui-hide-md layui-hide-lg">
        <ul class="layui-nav" lay-filter="nav">
            <li class="layui-nav-item layui-block-xs"><a href="{:url('/')}">网站首页</a></li>
            <li class="layui-nav-item layui-block-xs fa-pull-right"><a id="navicon"><i class="layui-icon">导航&#xe671;</i></a></li>
        </ul>
    </div>
</nav>